<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <title></title>
    <script type="text/javascript" src="__PUBLIC__/Js/jquery-1.7.2.min.js"></script>
    <link rel="stylesheet" href="__PUBLIC__/Css/public.css" />
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
</head>
<body>
<table>
    <tr>
        <th>ID</th>
        <th>发布者</th>
        <th>内容</th>
        <th>发布时间</th>
        <th>操作</th>
    </tr>

    <foreach name='app' item='v'>
        <tr>
            <td>{$v.id}</td>
            <td>{$v.username}</td>
            <td>{$v.content|replace_pic=###}</td>
            <td>{$v.time|date='Y-m-d H:i',###}</td>
            <td><a href="{:U('Admin/Show/delete',array('id'=>$v['id']))}">删除</a></td>
        </tr>
    </foreach>

    <tr>
        <td colspan="5" align="center">{$page}</td>
    </tr>
</table>
</body>
</html>